#ifndef LABELEDSLIDER_H
#define LABELEDSLIDER_H
#include <QSlider>
#include <QStringList>
#include <QLabel>
#include <QVBoxLayout>
#include <QHBoxLayout>
class LabeledSlider : public QWidget
{
    Q_OBJECT
public:
    LabeledSlider(QWidget *parent=0);
    QSlider *slider;
    QLabel *nowValue;
public slots:
    void setLabels(QStringList);
private:
    QStringList *labelList;
    QLabel *label[22];
    QVBoxLayout *labels;
    QVBoxLayout *main;
    QHBoxLayout *labeledSlider;
    int i;
    int j;
};
#endif // LABELEDSLIDER_H
